DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing Namespace / Index<T,TKey> Class / GroupJoin Method / GroupJoin<T2,TResult>(IEnumerable<T2>,Func<T2,TKey>,Func<IEnumerable<T>,T2,TResult>) Method
The type of the elements of the second sequence.
The type of the result elements.
The second sequence to join to this collection.
A function to extract from an item of the second sequence the value to match against this collection's key value.
A function to create a result element from an element of the second sequence and the collection of matching elements from this collection.

In This Topic
    GroupJoin<T2,TResult>(IEnumerable<T2>,Func<T2,TKey>,Func<IEnumerable<T>,T2,TResult>) Method
    In This Topic

    Correlates the items of this indexed collection with the items of another sequence and groups the results by the item of the second sequence.

    Implements IIndexScanner(T,TKey).GroupJoin

    Syntax
    'Declaration
     
    Public Overloads Function GroupJoin
        (Of T2,TResult)( _
       ByVal source As IEnumerable(Of T2), _
       ByVal keySelector As Func(Of T2,TKey), _
       ByVal resultSelector As Func(Of IEnumerable(Of T),T2,TResult) _
    ) As IEnumerable(Of TResult)

    Parameters

    source
    The second sequence to join to this collection.
    keySelector
    A function to extract from an item of the second sequence the value to match against this collection's key value.
    resultSelector
    A function to create a result element from an element of the second sequence and the collection of matching elements from this collection.

    Type Parameters

    T2
    The type of the elements of the second sequence.
    TResult
    The type of the result elements.

    Return Value

    Enumeration of objects obtained by applying the result selector to group pairs, where each pair consists of an item of the second collection and the corresponding enumeration of the items of this collection joined to it.
    See Also